package com.baizhi.entity;

import java.util.Date;

/**
 * @Author: renpu
 * @Date: 2019/2/27 8:47
 * @Description:
 */
public class CmfzBanner {
    private int bannerId;
    private String bannerImageUrl;
    private String bannerOldName;
    private int bannerState;

    private Date bannerDate;
    private String bannerDescription;

    public CmfzBanner(int bannerId, String bannerImageUrl, String bannerOldName, int bannerState, Date bannerDate, String bannerDescription) {
        this.bannerId = bannerId;
        this.bannerImageUrl = bannerImageUrl;
        this.bannerOldName = bannerOldName;
        this.bannerState = bannerState;
        this.bannerDate = bannerDate;
        this.bannerDescription = bannerDescription;
    }

    public CmfzBanner(String bannerImageUrl, String bannerOldName, int bannerState, Date bannerDate, String bannerDescription) {
        this.bannerImageUrl = bannerImageUrl;
        this.bannerOldName = bannerOldName;
        this.bannerState = bannerState;
        this.bannerDate = bannerDate;
        this.bannerDescription = bannerDescription;
    }

    public CmfzBanner(int bannerId, String bannerOldName, int bannerState, Date bannerDate, String bannerDescription) {
        this.bannerId = bannerId;
        this.bannerOldName = bannerOldName;
        this.bannerState = bannerState;
        this.bannerDate = bannerDate;
        this.bannerDescription = bannerDescription;
    }

    public CmfzBanner() {
    }

    public int getBannerId() {
        return bannerId;
    }

    public void setBannerId(int bannerId) {
        this.bannerId = bannerId;
    }

    public String getBannerImageUrl() {
        return bannerImageUrl;
    }

    public void setBannerImageUrl(String bannerImageUrl) {
        this.bannerImageUrl = bannerImageUrl;
    }

    public String getBannerOldName() {
        return bannerOldName;
    }

    public void setBannerOldName(String bannerOldName) {
        this.bannerOldName = bannerOldName;
    }

    public int getBannerState() {
        return bannerState;
    }

    public void setBannerState(int bannerState) {
        this.bannerState = bannerState;
    }

    public Date getBannerDate() {
        return bannerDate;
    }

    public void setBannerDate(Date bannerDate) {
        this.bannerDate = bannerDate;
    }

    public String getBannerDescription() {
        return bannerDescription;
    }

    public void setBannerDescription(String bannerDescription) {
        this.bannerDescription = bannerDescription;
    }

    @Override
    public String toString() {
        return "Banner{" +
                "bannerId=" + bannerId +
                ", bannerImageUrl='" + bannerImageUrl + '\'' +
                ", bannerOldName='" + bannerOldName + '\'' +
                ", bannerState=" + bannerState +
                ", bannerDate=" + bannerDate +
                ", bannerDescription='" + bannerDescription + '\'' +
                '}';
    }
}
